package com.qingke.OMS.Pojo;

import java.util.Date;

public class Orders {
	private int oid;
	private int code;
	private Date creatTime;
	private double total;
	private int oflag;
	private int customerId;
	private int userId;
	private int orderStatusId;

	public Orders() {
		super();
	}

	public Orders(int oid, int code, Date creatTime, double total, int oflag, int customerId, int userId,
			int orderStatusId) {
		super();
		this.oid = oid;
		this.code = code;
		this.creatTime = creatTime;
		this.total = total;
		this.oflag = oflag;
		this.customerId = customerId;
		this.userId = userId;
		this.orderStatusId = orderStatusId;
	}

	public int getOid() {
		return oid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public int getOflag() {
		return oflag;
	}

	public void setOflag(int oflag) {
		this.oflag = oflag;
	}

	public int getCustomerId() {
		return customerId;
	}

	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getOrderStatusId() {
		return orderStatusId;
	}

	public void setOrderStatusId(int orderStatusId) {
		this.orderStatusId = orderStatusId;
	}

}
